<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
	<title>安徽大学研究生联合培养网站-后台管理系统</title>
	<script src="${pageContext.request.contextPath}/scripts/jquery.js" type="text/javascript"></script>
	<script src="${pageContext.request.contextPath}/scripts/login.js" type="text/javascript"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/editor/themes/default/default.css" />
	<link rel="stylesheet" href="${pageContext.request.contextPath}/editor/plugins/code/prettify.css" />
	<script charset="utf-8" src="${pageContext.request.contextPath}/editor/kindeditor.js"></script>
	<script charset="utf-8" src="${pageContext.request.contextPath}/editor/lang/zh_CN.js"></script>
	<script charset="utf-8" src="${pageContext.request.contextPath}/editor/plugins/code/prettify.js"></script>
  <script charset="utf-8" src="${pageContext.request.contextPath}/scripts/rightMain.js" type="text/javascript"></script>	
    <link href="${pageContext.request.contextPath}/styles/skin.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/styles/rightMain.css" rel="stylesheet" type="text/css"> 
    <link href="${pageContext.request.contextPath}/styles/pageDivB.css" rel="stylesheet" type="text/css" />
<style>
	body{
		background: #eef2fb;
	}
	.hideBlack{
		background-color:black;
		position: fixed ;
		top:0;
		left:0;
		z-index:20;
		filter:Alpha(opacity=80);
		opacity:0.5;
		width:100%;
		height:100%;
	}

</style>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif"><img src="${pageContext.request.contextPath}/styles/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="${pageContext.request.contextPath}/styles/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">
        
        </div></td>
      </tr>
    </table>
    </td>
    <td width="16" valign="top" background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif"><img src="${pageContext.request.contextPath}/styles/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top" width="80%">&nbsp;</td>
        <td width="5%">&nbsp;</td>
        <td valign="top" width="15%">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="4" valign="top" width="95%"><span class="left_bt">利用下面表格提供的编辑功能对原信息进行添加、修改、删除等操作。</span>
<%--         <span style='color: red;font-size: 16px;font-weight: bold;'>添加成功！</span> --%>
<%--         	<span style='color: red;font-size: 16px;font-weight: bold;'>删除成功！</span> --%>
<%--         	<span style='color: red;font-size: 16px;font-weight: bold;'>修改成功！</span> --%>
<%--         	<span style='color: red;font-size: 16px;font-weight: bold;'>操作失败！</span> --%>
		
        <br><br>
        <div class="tableft">
<table width="100%" border="0" align="center" cellpadding="0"
	cellspacing="0">
	<tr>
		<td height="30"><table width="100%" border="0"
				cellspacing="0" cellpadding="0">
				<tr>
					<td width="15" height="30"><img
						src="${pageContext.request.contextPath}/styles/images/tab/tab_03.gif"
	width="15" height="30" /></td>
<td width="1101"
	background="${pageContext.request.contextPath}/styles/images/tab/tab_05.gif"><img
src="${pageContext.request.contextPath}/styles/images/tab/311.gif"
width="16" height="16" /> <span class="STYLE4">用户管理</span></td>
<td width="281"
	background="${pageContext.request.contextPath}/styles/images/tab/tab_05.gif"><table
border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
	<td width="60"></td>
<td width="60"><table width="90%" border="0"
		cellpadding="0" cellspacing="0">
		<tr>
			<td class="STYLE1"><div align="center"></div></td>
			<td class="STYLE1"><div align="center"></div></td>
		</tr>
	</table></td>
	<td width="60">
		<table width="90%" border="0"cellpadding="0" cellspacing="0">
		<tr>
			<td class="STYLE1"><div align="center"><img src="${pageContext.request.contextPath}/styles/images/tab/001.gif" width="14" height="14" /></div></td>
			<td class="STYLE1"><div align="center"><s:a action="userAction_addUI">新增</s:a></div></td>
		</tr>
	</table></td>
	<td width="52"></td>
		</tr>
	</table></td>
 <td width="14"><img src="${pageContext.request.contextPath}/styles/images/tab/tab_07.gif" width="14" height="30" /></td>
	</tr>
</table></td>
</tr>
<tr>
	<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="9" background="${pageContext.request.contextPath}/styles/images/tab/tab_12.gif">&nbsp;</td>
<td bgcolor="#f3ffe3">
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#c0e8f1" onmouseover="changeto()" onmouseout="changeback()">
	<tr>
		<td height="10" bgcolor="#FFFFFF"><div align="center" class="STYLE1">选择</div></td>
		<td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">编号</div></td>
		<td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">用户名</div></td>
		
		<td height="10" bgcolor="#FFFFFF"><div align="center">初始化密码</div></td>
		<td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">修改</div></td>
		<td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">设置权限</div></td>
		<td height="18" bgcolor="#FFFFFF"><div align="center">删除</div></td>
	</tr>
	<s:iterator value="recordList"  status="st">
	<tr>
		<td height='18' bgcolor='#FFFFFF'><div align='center' class='STYLE1'>
				<input name='checkboxhdw' type='checkbox' class='STYLE2' value='' />
			</div></td>
		<td height='18' bgcolor='#FFFFFF'><div align='center'>${ pageSize*(currentPage-1)+st.count}</div></td>
		<td height='18' bgcolor='#FFFFFF'><div align='center'>${name}</div></td>
		<td height='18' bgcolor='#FFFFFF'><div align='center'><s:a action='userAction_initPassword?id=%{id}'>初始化密码</s:a></div></td>
		
		<td height='18' bgcolor='#FFFFFF'><div align='center'>
				<span class='STYLE2'><img src='${pageContext.request.contextPath}/styles/images/tab/037.gif' width='9' height='9' /></span><span class='STYLE1'>
				[</span><s:a action='userAction_editUI?id=%{id}'>修改</s:a> <span class='STYLE1'>]</span>
		</div></td>
		<td height='18' bgcolor='#FFFFFF'><div align='center'><s:a action='userAction_setPrivilegeUI?id=%{id}'>设置权限</s:a></div></td>
		<td height='18' bgcolor='#FFFFFF'><div align='center'>
			<span class='STYLE2'> <img src='${pageContext.request.contextPath}/styles/images/tab/010.gif' width='9' height='9' /></span> <span class='STYLE2'>
						</span><span class='STYLE1'>[</span><s:a action="userAction_delete?id=%{id}">删除</s:a><span
							class='STYLE1'>]</span>
		</div></td>
		
	</tr></s:iterator>
</table>
</td>
<td width="9" background="${pageContext.request.contextPath}/styles/images/tab/tab_16.gif">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
	<td height="29"><table width="100%" border="0"
	cellspacing="0" cellpadding="0">
	<tr>
		<td width="15" height="29"><img
			src="${pageContext.request.contextPath}/styles/images/tab/tab_20.gif"
	width="15" height="29" /></td>
<td
	background="${pageContext.request.contextPath}/styles/images/tab/tab_21.gif"><table
width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="25%" height="29" nowrap="nowrap"><span class="STYLE1"> 共${recordCount}条纪录，当前第 ${pageNum}页，每页 10条纪录 </span></td>
	<td width="75%" valign="top" class="STYLE1"><div align="right" style="float: right;">
	<div style="padding-left: 150px;">
		<ul id="pagination-flickr">
			<li class='next'><a href='userAction_list.action?pageNum=1'>首页&nbsp;&nbsp;</a></li>
			<s:if test="currentPage!=1">
			<li class='next'><a href='userAction_list.action?pageNum=${currentPage - 1 }'>上一页&laquo;&nbsp;&nbsp;</a></li>
			</s:if>
			<s:iterator begin="%{beginPageIndex}" end="%{endPageIndex}" var="num">
				<s:if test="currentPage==#num">
					<li class='next'>${num }&nbsp;&nbsp;</li>
				</s:if>
				<s:else>
					<li><a href="userAction_list.action?pageNum=${num}">${num}---&nbsp;&nbsp;</a></li>
				</s:else>
			</s:iterator>
			<s:if test="currentPage!=pageCount">
			<li class='next'><a href='userAction_list.action?pageNum=${currentPage + 1 }'>&nbsp;&nbsp;&laquo;下一页</a></li>&nbsp;&nbsp;
			</s:if>
			<li class='next'><a href='userAction_list.action?pageNum=${pageCount}'>&nbsp;&nbsp;尾页</a></li>
		</ul>
	</div>
</div></td>
		</tr>	</table></td>
<td width="14"><img
	src="${pageContext.request.contextPath}/styles/images/tab/tab_22.gif"
							width="14" height="29" /></td>
					</tr>
				</table></td>
		</tr>
	</table>
</div>   
</tr>
<tr>
  <td colspan="2">&nbsp;</td>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>

<tr>
  <td height="40" colspan="4"><table width="100%" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
    <tr>
      <td></td>
    </tr>
  </table></td>
</tr>
<tr>
  <td width="2%">&nbsp;</td>
  <td width="51%" class="left_txt"><img src="${pageContext.request.contextPath}/styles/images/icon-mail2.gif" width="16" height="11"> 管理员QQ：403278819<br>
              <img src="${pageContext.request.contextPath}/styles/images/icon-phone.gif" width="17" height="14"> <a href="indexAction_index.action" target="_bank">进入前台</a>
          </td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table></td>
<td background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif">&nbsp;</td>
</tr>
<tr>
  <td valign="bottom" background="${pageContext.request.contextPath}/styles/images/mail_leftbg.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_left2.gif" width="17" height="17" /></td>
<td background="${pageContext.request.contextPath}/styles/images/buttom_bgs.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_bgs.gif" width="17" height="17"></td>
<td valign="bottom" background="${pageContext.request.contextPath}/styles/images/mail_rightbg.gif"><img src="${pageContext.request.contextPath}/styles/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>
</html>